package com.alexgaoyh.MutiModule.Dubbo.RWSeperate.api.manager.demo.oneWithMany.student.read;

import java.util.List;

import com.MutiModule.common.myPage.MyPageView;
import com.MutiModule.common.vo.mybatis.pagination.Page;
import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.manager.demo.oneWithMany.student.OneWithManyStudent;
import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.manager.demo.oneWithMany.student.OneWithManyStudentExample;

/**
 * OneWithManyStudent 模块 读接口
 * @author alexgaoyh
 *
 */
public interface IOneWithManyStudentReadService {

	int countByExample(OneWithManyStudentExample example);

    List<OneWithManyStudent> selectByExample(OneWithManyStudentExample example);

    OneWithManyStudent selectByPrimaryKey(Long id);
    
    /**
     * 获取分页实体信息部分
     * @param exampleWithOutPage	参数传递，封装部分过滤参数
     * @param page	实体分页类部分
     * @return
     */
    MyPageView<OneWithManyStudent> generateMyPageViewVO(OneWithManyStudentExample exampleWithOutPage, Page page);
    
}
